IF(Boost_FOUND AND Log4cxx_FOUND)
    FILE(GLOB_RECURSE TEST_POBO_SRC_LISTS testpobo *.cpp)
    INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/include)
    INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIRS})
    INCLUDE_DIRECTORIES(${LOG4CXX_INCLUDE_DIR})
    ADD_EXECUTABLE(testpobo ${TEST_POBO_SRC_LISTS})
    IF(Threads_FOUND)
        TARGET_LINK_LIBRARIES(testpobo ${CMAKE_THREAD_LIBS_INIT})
    ENDIF(Threads_FOUND)
    TARGET_LINK_LIBRARIES(testpobo ${Boost_LIBRARIES})
    TARGET_LINK_LIBRARIES(testpobo ${LOG4CXX_LIBRARIES})
ENDIF(Boost_FOUND AND Log4cxx_FOUND)
